\hypertarget{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1_main_activity}{}\section{com.\+example.\+akisame\+\_\+lin.\+love\+\_\+air2.\+Main\+Activity类 参考}
\label{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1_main_activity}\index{com.example.akisame\_lin.love\_air2.MainActivity@{com.example.akisame\_lin.love\_air2.MainActivity}}


类 com.\+example.\+akisame\+\_\+lin.\+love\+\_\+air2.\+Main\+Activity 继承关系图\+:
% FIG 0


com.\+example.\+akisame\+\_\+lin.\+love\+\_\+air2.\+Main\+Activity 的协作图\+:
% FIG 1
\subsection*{Public 成员函数}
\begin{DoxyCompactItemize}
\item 
boolean \mbox{\hyperlink{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1_main_activity_a7688b188a3dfa57ea57110b66e730291}{on\+Create\+Options\+Menu}} (Menu menu)
\item 
boolean \mbox{\hyperlink{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1_main_activity_af5e7d5796baa70f1ae49937da6a3ccef}{on\+Options\+Item\+Selected}} (Menu\+Item item)
\item 
void \mbox{\hyperlink{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1_main_activity_a66b33f5623bf66ccfd31c9cd3893cd8e}{on\+Click}} (View view)
\end{DoxyCompactItemize}
\subsection*{Protected 成员函数}
\begin{DoxyCompactItemize}
\item 
void \mbox{\hyperlink{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1_main_activity_a1338fd61cb5d42c59c698553117af4ac}{on\+Create}} (Bundle saved\+Instance\+State)
\end{DoxyCompactItemize}
\subsection*{包属性}
\begin{DoxyCompactItemize}
\item 
Image\+View \mbox{\hyperlink{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1_main_activity_a073bd27c2eb78a1ffed16dd04e575974}{home\+\_\+btn}}
\item 
Image\+View \mbox{\hyperlink{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1_main_activity_a2bdfc8b9ffee9dd37fa31e0c0df65aeb}{map\+\_\+btn}}
\item 
Image\+View \mbox{\hyperlink{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1_main_activity_a7d2cb9c6d7fd022b8c2420247afaade6}{news\+\_\+btn}}
\item 
Image\+View \mbox{\hyperlink{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1_main_activity_a3fcbf623ba8dee3c9b5fb9c7f4d8d117}{weibo\+\_\+btn}}
\item 
Fragment\+Manager \mbox{\hyperlink{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1_main_activity_ae3beba676d8227900b84ab77f096bf95}{fragment\+Manager}}
\item 
Navigation\+View \mbox{\hyperlink{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1_main_activity_a8074dad585fcdef1e698d8318b9f24b3}{navigation\+View}}
\item 
View \mbox{\hyperlink{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1_main_activity_ae6100f23a76dab660520b3d5edebfbac}{nav\+\_\+header\+\_\+main}}
\item 
int \mbox{\hyperlink{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1_main_activity_a18886dc1687ceb8421d89ef32d7bdc88}{navisclick}} = 0
\end{DoxyCompactItemize}
\subsection*{Private 成员函数}
\begin{DoxyCompactItemize}
\item 
void \mbox{\hyperlink{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1_main_activity_a2799b34bbb643845418806debbf64e57}{init\+View}} ()
\item 
void \mbox{\hyperlink{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1_main_activity_aa98023a9f898ff05b7d5e505693ef43e}{init\+Listener}} ()
\item 
void \mbox{\hyperlink{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1_main_activity_a81425f0037a1d8f874dad55d504ebf7a}{replace\+Fragment}} (Fragment fragment)
\end{DoxyCompactItemize}
\subsection*{Private 属性}
\begin{DoxyCompactItemize}
\item 
Drawer\+Layout \mbox{\hyperlink{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1_main_activity_a448ef73f4b52a4524d3b43f47f342a7e}{drawer\+Layout}}
\end{DoxyCompactItemize}


\subsection{成员函数说明}
\mbox{\Hypertarget{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1_main_activity_aa98023a9f898ff05b7d5e505693ef43e}\label{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1_main_activity_aa98023a9f898ff05b7d5e505693ef43e}} 
\index{com.example.akisame\_lin.love\_air2.MainActivity@{com.example.akisame\_lin.love\_air2.MainActivity}!initListener@{initListener}}
\index{initListener@{initListener}!com.example.akisame\_lin.love\_air2.MainActivity@{com.example.akisame\_lin.love\_air2.MainActivity}}
\subsubsection{\texorpdfstring{initListener()}{initListener()}}
{\footnotesize\ttfamily void com.\+example.\+akisame\+\_\+lin.\+love\+\_\+air2.\+Main\+Activity.\+init\+Listener (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [private]}}

\mbox{\Hypertarget{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1_main_activity_a2799b34bbb643845418806debbf64e57}\label{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1_main_activity_a2799b34bbb643845418806debbf64e57}} 
\index{com.example.akisame\_lin.love\_air2.MainActivity@{com.example.akisame\_lin.love\_air2.MainActivity}!initView@{initView}}
\index{initView@{initView}!com.example.akisame\_lin.love\_air2.MainActivity@{com.example.akisame\_lin.love\_air2.MainActivity}}
\subsubsection{\texorpdfstring{initView()}{initView()}}
{\footnotesize\ttfamily void com.\+example.\+akisame\+\_\+lin.\+love\+\_\+air2.\+Main\+Activity.\+init\+View (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [private]}}

\mbox{\Hypertarget{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1_main_activity_a66b33f5623bf66ccfd31c9cd3893cd8e}\label{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1_main_activity_a66b33f5623bf66ccfd31c9cd3893cd8e}} 
\index{com.example.akisame\_lin.love\_air2.MainActivity@{com.example.akisame\_lin.love\_air2.MainActivity}!onClick@{onClick}}
\index{onClick@{onClick}!com.example.akisame\_lin.love\_air2.MainActivity@{com.example.akisame\_lin.love\_air2.MainActivity}}
\subsubsection{\texorpdfstring{onClick()}{onClick()}}
{\footnotesize\ttfamily void com.\+example.\+akisame\+\_\+lin.\+love\+\_\+air2.\+Main\+Activity.\+on\+Click (\begin{DoxyParamCaption}\item[{View}]{view }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}

\mbox{\Hypertarget{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1_main_activity_a1338fd61cb5d42c59c698553117af4ac}\label{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1_main_activity_a1338fd61cb5d42c59c698553117af4ac}} 
\index{com.example.akisame\_lin.love\_air2.MainActivity@{com.example.akisame\_lin.love\_air2.MainActivity}!onCreate@{onCreate}}
\index{onCreate@{onCreate}!com.example.akisame\_lin.love\_air2.MainActivity@{com.example.akisame\_lin.love\_air2.MainActivity}}
\subsubsection{\texorpdfstring{onCreate()}{onCreate()}}
{\footnotesize\ttfamily void com.\+example.\+akisame\+\_\+lin.\+love\+\_\+air2.\+Main\+Activity.\+on\+Create (\begin{DoxyParamCaption}\item[{Bundle}]{saved\+Instance\+State }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [protected]}}

\mbox{\Hypertarget{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1_main_activity_a7688b188a3dfa57ea57110b66e730291}\label{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1_main_activity_a7688b188a3dfa57ea57110b66e730291}} 
\index{com.example.akisame\_lin.love\_air2.MainActivity@{com.example.akisame\_lin.love\_air2.MainActivity}!onCreateOptionsMenu@{onCreateOptionsMenu}}
\index{onCreateOptionsMenu@{onCreateOptionsMenu}!com.example.akisame\_lin.love\_air2.MainActivity@{com.example.akisame\_lin.love\_air2.MainActivity}}
\subsubsection{\texorpdfstring{onCreateOptionsMenu()}{onCreateOptionsMenu()}}
{\footnotesize\ttfamily boolean com.\+example.\+akisame\+\_\+lin.\+love\+\_\+air2.\+Main\+Activity.\+on\+Create\+Options\+Menu (\begin{DoxyParamCaption}\item[{Menu}]{menu }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}

\mbox{\Hypertarget{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1_main_activity_af5e7d5796baa70f1ae49937da6a3ccef}\label{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1_main_activity_af5e7d5796baa70f1ae49937da6a3ccef}} 
\index{com.example.akisame\_lin.love\_air2.MainActivity@{com.example.akisame\_lin.love\_air2.MainActivity}!onOptionsItemSelected@{onOptionsItemSelected}}
\index{onOptionsItemSelected@{onOptionsItemSelected}!com.example.akisame\_lin.love\_air2.MainActivity@{com.example.akisame\_lin.love\_air2.MainActivity}}
\subsubsection{\texorpdfstring{onOptionsItemSelected()}{onOptionsItemSelected()}}
{\footnotesize\ttfamily boolean com.\+example.\+akisame\+\_\+lin.\+love\+\_\+air2.\+Main\+Activity.\+on\+Options\+Item\+Selected (\begin{DoxyParamCaption}\item[{Menu\+Item}]{item }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}

\mbox{\Hypertarget{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1_main_activity_a81425f0037a1d8f874dad55d504ebf7a}\label{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1_main_activity_a81425f0037a1d8f874dad55d504ebf7a}} 
\index{com.example.akisame\_lin.love\_air2.MainActivity@{com.example.akisame\_lin.love\_air2.MainActivity}!replaceFragment@{replaceFragment}}
\index{replaceFragment@{replaceFragment}!com.example.akisame\_lin.love\_air2.MainActivity@{com.example.akisame\_lin.love\_air2.MainActivity}}
\subsubsection{\texorpdfstring{replaceFragment()}{replaceFragment()}}
{\footnotesize\ttfamily void com.\+example.\+akisame\+\_\+lin.\+love\+\_\+air2.\+Main\+Activity.\+replace\+Fragment (\begin{DoxyParamCaption}\item[{Fragment}]{fragment }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [private]}}



\subsection{类成员变量说明}
\mbox{\Hypertarget{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1_main_activity_a448ef73f4b52a4524d3b43f47f342a7e}\label{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1_main_activity_a448ef73f4b52a4524d3b43f47f342a7e}} 
\index{com.example.akisame\_lin.love\_air2.MainActivity@{com.example.akisame\_lin.love\_air2.MainActivity}!drawerLayout@{drawerLayout}}
\index{drawerLayout@{drawerLayout}!com.example.akisame\_lin.love\_air2.MainActivity@{com.example.akisame\_lin.love\_air2.MainActivity}}
\subsubsection{\texorpdfstring{drawerLayout}{drawerLayout}}
{\footnotesize\ttfamily Drawer\+Layout com.\+example.\+akisame\+\_\+lin.\+love\+\_\+air2.\+Main\+Activity.\+drawer\+Layout\hspace{0.3cm}{\ttfamily [private]}}

\mbox{\Hypertarget{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1_main_activity_ae3beba676d8227900b84ab77f096bf95}\label{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1_main_activity_ae3beba676d8227900b84ab77f096bf95}} 
\index{com.example.akisame\_lin.love\_air2.MainActivity@{com.example.akisame\_lin.love\_air2.MainActivity}!fragmentManager@{fragmentManager}}
\index{fragmentManager@{fragmentManager}!com.example.akisame\_lin.love\_air2.MainActivity@{com.example.akisame\_lin.love\_air2.MainActivity}}
\subsubsection{\texorpdfstring{fragmentManager}{fragmentManager}}
{\footnotesize\ttfamily Fragment\+Manager com.\+example.\+akisame\+\_\+lin.\+love\+\_\+air2.\+Main\+Activity.\+fragment\+Manager\hspace{0.3cm}{\ttfamily [package]}}

\mbox{\Hypertarget{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1_main_activity_a073bd27c2eb78a1ffed16dd04e575974}\label{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1_main_activity_a073bd27c2eb78a1ffed16dd04e575974}} 
\index{com.example.akisame\_lin.love\_air2.MainActivity@{com.example.akisame\_lin.love\_air2.MainActivity}!home\_btn@{home\_btn}}
\index{home\_btn@{home\_btn}!com.example.akisame\_lin.love\_air2.MainActivity@{com.example.akisame\_lin.love\_air2.MainActivity}}
\subsubsection{\texorpdfstring{home\_btn}{home\_btn}}
{\footnotesize\ttfamily Image\+View com.\+example.\+akisame\+\_\+lin.\+love\+\_\+air2.\+Main\+Activity.\+home\+\_\+btn\hspace{0.3cm}{\ttfamily [package]}}

\mbox{\Hypertarget{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1_main_activity_a2bdfc8b9ffee9dd37fa31e0c0df65aeb}\label{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1_main_activity_a2bdfc8b9ffee9dd37fa31e0c0df65aeb}} 
\index{com.example.akisame\_lin.love\_air2.MainActivity@{com.example.akisame\_lin.love\_air2.MainActivity}!map\_btn@{map\_btn}}
\index{map\_btn@{map\_btn}!com.example.akisame\_lin.love\_air2.MainActivity@{com.example.akisame\_lin.love\_air2.MainActivity}}
\subsubsection{\texorpdfstring{map\_btn}{map\_btn}}
{\footnotesize\ttfamily Image\+View com.\+example.\+akisame\+\_\+lin.\+love\+\_\+air2.\+Main\+Activity.\+map\+\_\+btn\hspace{0.3cm}{\ttfamily [package]}}

\mbox{\Hypertarget{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1_main_activity_ae6100f23a76dab660520b3d5edebfbac}\label{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1_main_activity_ae6100f23a76dab660520b3d5edebfbac}} 
\index{com.example.akisame\_lin.love\_air2.MainActivity@{com.example.akisame\_lin.love\_air2.MainActivity}!nav\_header\_main@{nav\_header\_main}}
\index{nav\_header\_main@{nav\_header\_main}!com.example.akisame\_lin.love\_air2.MainActivity@{com.example.akisame\_lin.love\_air2.MainActivity}}
\subsubsection{\texorpdfstring{nav\_header\_main}{nav\_header\_main}}
{\footnotesize\ttfamily View com.\+example.\+akisame\+\_\+lin.\+love\+\_\+air2.\+Main\+Activity.\+nav\+\_\+header\+\_\+main\hspace{0.3cm}{\ttfamily [package]}}

\mbox{\Hypertarget{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1_main_activity_a8074dad585fcdef1e698d8318b9f24b3}\label{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1_main_activity_a8074dad585fcdef1e698d8318b9f24b3}} 
\index{com.example.akisame\_lin.love\_air2.MainActivity@{com.example.akisame\_lin.love\_air2.MainActivity}!navigationView@{navigationView}}
\index{navigationView@{navigationView}!com.example.akisame\_lin.love\_air2.MainActivity@{com.example.akisame\_lin.love\_air2.MainActivity}}
\subsubsection{\texorpdfstring{navigationView}{navigationView}}
{\footnotesize\ttfamily Navigation\+View com.\+example.\+akisame\+\_\+lin.\+love\+\_\+air2.\+Main\+Activity.\+navigation\+View\hspace{0.3cm}{\ttfamily [package]}}

\mbox{\Hypertarget{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1_main_activity_a18886dc1687ceb8421d89ef32d7bdc88}\label{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1_main_activity_a18886dc1687ceb8421d89ef32d7bdc88}} 
\index{com.example.akisame\_lin.love\_air2.MainActivity@{com.example.akisame\_lin.love\_air2.MainActivity}!navisclick@{navisclick}}
\index{navisclick@{navisclick}!com.example.akisame\_lin.love\_air2.MainActivity@{com.example.akisame\_lin.love\_air2.MainActivity}}
\subsubsection{\texorpdfstring{navisclick}{navisclick}}
{\footnotesize\ttfamily int com.\+example.\+akisame\+\_\+lin.\+love\+\_\+air2.\+Main\+Activity.\+navisclick = 0\hspace{0.3cm}{\ttfamily [package]}}

\mbox{\Hypertarget{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1_main_activity_a7d2cb9c6d7fd022b8c2420247afaade6}\label{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1_main_activity_a7d2cb9c6d7fd022b8c2420247afaade6}} 
\index{com.example.akisame\_lin.love\_air2.MainActivity@{com.example.akisame\_lin.love\_air2.MainActivity}!news\_btn@{news\_btn}}
\index{news\_btn@{news\_btn}!com.example.akisame\_lin.love\_air2.MainActivity@{com.example.akisame\_lin.love\_air2.MainActivity}}
\subsubsection{\texorpdfstring{news\_btn}{news\_btn}}
{\footnotesize\ttfamily Image\+View com.\+example.\+akisame\+\_\+lin.\+love\+\_\+air2.\+Main\+Activity.\+news\+\_\+btn\hspace{0.3cm}{\ttfamily [package]}}

\mbox{\Hypertarget{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1_main_activity_a3fcbf623ba8dee3c9b5fb9c7f4d8d117}\label{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1_main_activity_a3fcbf623ba8dee3c9b5fb9c7f4d8d117}} 
\index{com.example.akisame\_lin.love\_air2.MainActivity@{com.example.akisame\_lin.love\_air2.MainActivity}!weibo\_btn@{weibo\_btn}}
\index{weibo\_btn@{weibo\_btn}!com.example.akisame\_lin.love\_air2.MainActivity@{com.example.akisame\_lin.love\_air2.MainActivity}}
\subsubsection{\texorpdfstring{weibo\_btn}{weibo\_btn}}
{\footnotesize\ttfamily Image\+View com.\+example.\+akisame\+\_\+lin.\+love\+\_\+air2.\+Main\+Activity.\+weibo\+\_\+btn\hspace{0.3cm}{\ttfamily [package]}}



该类的文档由以下文件生成\+:\begin{DoxyCompactItemize}
\item 
app/src/main/java/com/example/akisame\+\_\+lin/love\+\_\+air2/\mbox{\hyperlink{java_2com_2example_2akisame__lin_2love__air2_2_main_activity_8java}{Main\+Activity.\+java}}\end{DoxyCompactItemize}
